package cn.besbing.model.entities.primary;

import cn.besbing.model.mapper.primary.NcBasprodPointMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcBasprodPointServiceImpl implements NcBasprodPointMapper {


    @Autowired(required = false)
    NcBasprodPointMapper ncBasprodPointMapper;



    @Override
    public long countByExample(NcBasprodPointExample example) {
        return ncBasprodPointMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcBasprodPointExample example) {
        return ncBasprodPointMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkBasprodPoint) {
        return ncBasprodPointMapper.deleteByPrimaryKey(pkBasprodPoint);
    }

    @Override
    public int insert(NcBasprodPoint record) {
        return ncBasprodPointMapper.insert(record);
    }

    @Override
    public int insertSelective(NcBasprodPoint record) {
        return ncBasprodPointMapper.insertSelective(record);
    }

    @Override
    public List<NcBasprodPoint> selectByExample(NcBasprodPointExample example) {
        return ncBasprodPointMapper.selectByExample(example);
    }

    @Override
    public NcBasprodPoint selectByPrimaryKey(String pkBasprodPoint) {
        return ncBasprodPointMapper.selectByPrimaryKey(pkBasprodPoint);
    }

    @Override
    public int updateByExampleSelective(NcBasprodPoint record, NcBasprodPointExample example) {
        return ncBasprodPointMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcBasprodPoint record, NcBasprodPointExample example) {
        return ncBasprodPointMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcBasprodPoint record) {
        return ncBasprodPointMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcBasprodPoint record) {
        return ncBasprodPointMapper.updateByPrimaryKey(record);
    }
}
